﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JXT.PrimaryKey.Batman.Domain.Services;
using JXT.PrimaryKey.Batman.Domain.UserSystem.Models;

namespace JXT.PrimaryKey.Batman.Domain.UserSystem.Services
{
    public interface IOAuthConfigService : ICachedService
    {
        void Add(OAuthConfig config);

        void Update(OAuthConfig config);

        //void Add(string name,string key,string keyserct,string tokenurl,string authorurl,string accessurl,string regex);

        OAuthConfig GetSingle(int id);

        //void UpdateThirdPartInfo(OAuthConfig entity);

        IEnumerable<OAuthConfig> GetList();
    }
}
